<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="constant.jsp"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/bootstrap.js"></script>
</head>
<body>
	<script type="text/javascript">
		Ext.onReady(function() {
			new Ext.Viewport({
				layout : 'fit',
				items : [ new Ext.ux.SuperTree({
					table : "ele_enterprise",
					displayField : "chr_name",
					valueField : "chr_code",
					parentField : "parent_id",
					idField : "chr_id",
					leafField : "is_leaf",
					selectMode : "leaf",
					multi : true,
					rootValue : "all",
					otherField:"is_leaf"
				}) ]
			});

		});
	</script>
</body>
</html>